package com.ttg.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ttg.model.pojo.VipNextGradeTemp;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;



public interface VipNextGradeTempMapper extends BaseMapper<VipNextGradeTemp> {

    @Update("TRUNCATE TABLE tbl_vip_next_grade_temp")
    void truncateOldRecords();

    void vipRating(@Param("date") Integer date);

}
